home comics writing pictures archive about

Set.h

Language: C++
Last Modified: 2022-09-10 5:29:28 PM UTC
File Size: 916 bytes
http://www.penguinstew.ca/example/CodeFormater/Set.h
pragmaonce
include<string>
include<vector>
include<regex>
include<libxmltreeh>
includeTypeIdPairh
includeStateh
classSet
{
stylenameofthecolourtodisplay
std::stringcolour;
Theregularexpressiontousewhentestingwordboundaries
std::regexregEx;
std::stringregExText;
std::regexwildRegEx;
std::stringwildRegExText;
Usedwithsymtypetoindicatewordstotestfor
std::vector<std::string>words;
std::vector<TypeIdPair>startIds;
public:
staticconststd::stringSET_PATTERN_WORD;
SetxmlNodePtrxmlNode;
std::stringGetColour;
std::regexGetRegEx;
std::regexGetWildRegEx;
std::vector<std::string>GetWords;
std::vector<TypeIdPair>GetStartIds;
intFindAndPrintSetWordstd::stringstreamlineStreamstd::stringlineintposTypeIdPairtypeIdcharpreCStatecurrentState;
std::stringToString;
};
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34